<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:iterator value="#request.employeeinfoTrains" var="train" status="trainsta">
    <div class="message info" id="train_${train.id}">

        <div style="float:right;" id="train_btn_${train.id}"><a class="button"
                                                                href="javascript:trainModify(${train.id})"><span
                style="background:url(${ctx}/images/img/page_edit.png)" class="icon">&nbsp;</span>修改</a>
            <a class="button" href="javascript:trainDelete(${train.id})"><span
                    style="background:url(${ctx}/images/img/delete.png)"
                    class="icon">&nbsp;</span>删除</a></div>
        <h3>培训经历#${trainsta.index+1}</h3>

        <div>
            <p><span id="modify_train_letter_${train.id}">${train.letter}</span> , <span
                    id="modify_train_address_${train.id}">${train.trainAddress}</span> , <span
                    id="modify_train_content_${train.id}">${train.trainContent}</span></p>

            <p><s:date name="#train.beginDate" format="yyyy年MM月"/>-<s:date name="#train.endDate"
                                                                           format="yyyy年MM月"/>(${train.diffMon})</p>

        </div>
    </div>
</s:iterator>
      